package com.itheima.pojo;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.util.Date;

@Data
@Table(name = "t_picture")
public class Picture {
  @Id
  private String uid;

  @Column(name = "file_uid")
  private String fileUid;
  @Column(name = "pic_name")
  private String picName;
  @Column(name = "picture_sort_uid")
  private String pictureSortUid;
  @Column(name = "status")
  private Integer status;
  @Column(name = "create_time")
  private Date createTime;
  @Column(name = "update_time")
  private Date updateTime;

  @Transient
  private Integer currentPage;
  @Transient
  private Integer pageSize;
  @Transient
  private String keyword;
  @Transient
  private String fileUids;
  @Transient
  private String pictureUrl;

}
